#ifndef Panner_First
#define Panner_First
#ifdef __GNUG__
#pragma interface
#endif

#include "Slider.h"

class Clipper;

//---- Panner ------------------------------------------------------------------

class Panner : public Slider {
public:
	Panner(Clipper *mc, const Point &extent= gPoint_1);
	~Panner();

protected:
	void Control(int id, int part, void *val);
	void DoObserve(int id, int part, void *vp, Object *op);
	Metric GetMinSize();

protected:
	Clipper *cl;
};


#endif

